<html>
<head>
<title>
<?php if(isset($headtitle)) echo $headtitle; ?>
</title>
<?php echo "<link rel='stylesheet' href='".base_url()."public/css/global.css"."' type='text/css' media='screen'>";?>
<?php echo "<link rel='stylesheet' href='".base_url()."public/css/jquery-ui-1.8.24.custom.css"."' type='text/css' media='screen'>";?>
<?php if(isset($jsscript)) echo $jsscript; ?>

<?php echo "<script type='text/javascript' src='".base_url()."public/js/jquery.min.js"."'></script>"?>
<?php echo "<script type='text/javascript' src='".base_url()."public/js/jquery-ui-1.8.24.custom.min.js"."'></script>"?>
<?php if(isset($cssstyle)) echo $cssstyle; ?>
</head>

<body>
<?php if(isset($contents)) echo $contents;?>
</body>
</html>